<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>理解MVVM</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
     <div id = "root">
        <h1>学校名称:{{name}}</h1>
        <h3>学校地址{{address}}</h3>
     </div>
</body>
  <script type="text/javascript">
     Vue.config.productionTip = false

     new Vue({
        el:'#root',
        data:{
            name:"尚硅谷",
            address:'北京'
        }
     })
     console.log(vm);
  </script>
</html>